package com.haifeng.jupiter.auth.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.io.Serializable;

/**
 * <p>
 *  Security配置项
 * </p>
 *
 * @author: Haifeng
 * @date: 2020-08-16
 */
@Data
@ConfigurationProperties(prefix = "system.auth.security")
public class SecurityProperties implements Serializable {

    /**
     * 不需要登录认证的资源
     */
    private String[] noAuthUrls = {"/oauth/login", "/oauth/refreshToken",
            "/noToken/**","/doc.html", "/v2/api-docs-ext", "/v2/api-docs",
            "/favicon.ico"};
}
